package com.bei_en.teacher.admin.model.users.bean;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import com.bei_en.teacher.admin.model.BaseBean;
import java.util.*;
import javax.validation.constraints.*;
import org.hibernate.validator.constraints.*;
import java.math.BigDecimal;

/**
 * 账户
 * @author Guocg
 * @date 2016-7-26 22:44:04
 */
public class Users extends BaseBean{
	private Integer userId;  // 自增长
	private String accountId;  // 用户唯一ID，MD5生成
	private String userName;  // 账户，英文、数字、下划线
	private String password;  // 密码
	private String mobilePhone;  // 手机号码
	private Integer accountRole;  // 角色，0-业主；1-物业人员
	private Integer newMessage;  // 是否有新消息,0-无，1-有
	private Integer status;  // 账户状态1是正常，2是删除

	public void setUserId(Integer value) {
		this.userId = value;
	}
	
	public Integer getUserId() {
		return this.userId;
	}
	public void setAccountId(String value) {
		this.accountId = value;
	}
	
	public String getAccountId() {
		return this.accountId;
	}
	public void setUserName(String value) {
		this.userName = value;
	}
	
	public String getUserName() {
		return this.userName;
	}
	public void setPassword(String value) {
		this.password = value;
	}
	
	public String getPassword() {
		return this.password;
	}
	public void setMobilePhone(String value) {
		this.mobilePhone = value;
	}
	
	public String getMobilePhone() {
		return this.mobilePhone;
	}
	public void setAccountRole(Integer value) {
		this.accountRole = value;
	}
	
	public Integer getAccountRole() {
		return this.accountRole;
	}
	public void setNewMessage(Integer value) {
		this.newMessage = value;
	}
	
	public Integer getNewMessage() {
		return this.newMessage;
	}
	public void setStatus(Integer value) {
		this.status = value;
	}
	
	public Integer getStatus() {
		return this.status;
	}
	

}

